package com.stud.common.core.domain;

import com.stud.common.interfaces.SqlHelpJavaBean;
import com.stud.common.interfaces.ValidateInterface;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * EntityDTO基类
 *
 * @author Stud
 */
@Getter
@Setter
public class EntityDTO implements Serializable, Cloneable, ValidateInterface, SqlHelpJavaBean {

    protected Long id;

    protected String delFlag = "0";

    protected String createBy;

    protected LocalDateTime createTime;

    protected String updateBy;

    protected LocalDateTime updateTime;

    protected String remark;

    public Object clone() {
        Object obj = null;
        try {
            obj = super.clone();
        } catch (CloneNotSupportedException ignored) {
        }
        return obj;
    }

}
